/*
 * mpole_misc.h - miscellaneous subroutines for multipole library
 *
 * w. elliott
 * w. t. rankin
 *
 * Copyright (c) 1995 Duke University
 * All Rights Reserved.
 *
 */
#include "stdinc.h"
#include "particle.h"



/****************************************************************
 *
 *  dumpY_C() - print out a multipole expansion to standard error.
 *
 */

void dumpY_C( Kompleks ** Y, int p );

/****************************************************************
 *
 *  dumpYF() - print out an FFT multipole expansion to standard error.
 *
 */

void dumpYF( Real *Ystart, int p );

/****************************************************************
 *
 *  MathdumpY_C() - dumps a multipole expansion to a file
 *    specified in s[].
 *
 */

void MathdumpY_C( Kompleks ** Y, int p, char s[], int cell );


/****************************************************************
 *
 *  MDumpRaw_C() - dumps a multipole expansion to a file
 *    specified in *s.
 *
 */

void MDumpRaw_C( Mtype Y, int p, char *s );

/****************************************************************
*
*  Cart2Sph(v,s) - converts cartesian to spherical vectors
*
*/
void Cart2Sph( vektor v, vektor *s );